package com.fry.mall.wallet.response;

public enum ResponseEnum {

    /**
     * ok
     */
    OK(10000, "ok"),

    /** ------------------------------ 系统模块错误类型 ------------------------------ */

    /**
     * 用于直接显示提示用户的各种错误，内容由输入内容决定
     */
    SYSTEM_VARIOUS_FAIL(1001, "");

    private final Integer code;

    private final String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "ResponseEnum{" + "code='" + code + '\'' + ", msg='" + msg + '\'' + "} " + super.toString();
    }


    }
